package com.hzj.recipe.service;

import com.hzj.recipe.entity.Recipe;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzj.recipe.resp.RecipeResp;

import java.io.Serializable;

/**
* @author 蜗牛菌
* @description 针对表【recipe(食谱表)】的数据库操作Service
* @createDate 2024-01-04 10:49:47
*/
public interface RecipeService extends IService<Recipe> {

    //分页查询所有数据
    Object listAll(Integer index, Integer size, Recipe recipe);

    //通过食谱主键查询食谱详情
    RecipeResp selectByRecipeId(Serializable id);
}
